/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.triumphsys.icici.cmeeting.portlet.service;

import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.model.BaseModel;

import com.triumphsys.icici.cmeeting.portlet.model.CMBranchClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMCompanyClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMControlGroupClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMCreditRatingClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMEntityClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMForumClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMHolidayClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMIndustryClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMMeetingClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMOthersProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMParameterClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMPoliciesProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMPostProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMProposalTypeClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMRegionClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMReportingProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMRoleClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMSanctionProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMSubForumClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMUserClp;
import com.triumphsys.icici.cmeeting.portlet.model.CMValuationProposalClp;
import com.triumphsys.icici.cmeeting.portlet.model.COEPropoalTypeClp;

import java.lang.reflect.Method;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author Brian Wing Shun Chan
 */
public class ClpSerializer {
	public static final String SERVLET_CONTEXT_NAME = "CMeeting-portlet";

	public static void setClassLoader(ClassLoader classLoader) {
		_classLoader = classLoader;
	}

	public static Object translateInput(BaseModel<?> oldModel) {
		Class<?> oldModelClass = oldModel.getClass();

		String oldModelClassName = oldModelClass.getName();

		if (oldModelClassName.equals(CMHolidayClp.class.getName())) {
			CMHolidayClp oldCplModel = (CMHolidayClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMHolidayImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setHolidayId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getHolidayId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getUserId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getGroupId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setHoliday",
							new Class[] { Date.class });

					Date value4 = oldCplModel.getHoliday();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value5 = oldCplModel.getName();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setDesc",
							new Class[] { String.class });

					String value6 = oldCplModel.getDesc();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getCreateDate();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getModifiedBy());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value9 = oldCplModel.getModifiedDate();

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value10 = new Boolean(oldCplModel.getActive_());

					method10.invoke(newModel, value10);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMParameterClp.class.getName())) {
			CMParameterClp oldCplModel = (CMParameterClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMParameterImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setParameterId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getParameterId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getUserId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value4 = oldCplModel.getName();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setValue",
							new Class[] { String.class });

					String value5 = oldCplModel.getValue();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setDescription",
							new Class[] { String.class });

					String value6 = oldCplModel.getDescription();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getCreateDate();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getModifiedBy());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value9 = oldCplModel.getModifiedDate();

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setRegionGroupId",
							new Class[] { Long.TYPE });

					Long value10 = new Long(oldCplModel.getRegionGroupId());

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value11 = new Boolean(oldCplModel.getActive_());

					method11.invoke(newModel, value11);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMUserClp.class.getName())) {
			CMUserClp oldCplModel = (CMUserClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getUserId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setUserIp",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getUserIp());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setUserDomain",
							new Class[] { String.class });

					String value2 = oldCplModel.getUserDomain();

					method2.invoke(newModel, value2);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMCreditRatingClp.class.getName())) {
			CMCreditRatingClp oldCplModel = (CMCreditRatingClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMCreditRatingImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setCreditRatingId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getCreditRatingId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getUserId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value4 = oldCplModel.getName();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value5 = oldCplModel.getCreateDate();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getModifiedBy());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getModifiedDate();

					method7.invoke(newModel, value7);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(COEPropoalTypeClp.class.getName())) {
			COEPropoalTypeClp oldCplModel = (COEPropoalTypeClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.COEPropoalTypeImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setCoeProposalTypeId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getCoeProposalTypeId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value3 = oldCplModel.getName();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setDesc",
							new Class[] { String.class });

					String value4 = oldCplModel.getDesc();

					method4.invoke(newModel, value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMIndustryClp.class.getName())) {
			CMIndustryClp oldCplModel = (CMIndustryClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMIndustryImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setIndustryId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getIndustryId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value3 = oldCplModel.getName();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getUserId());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value5 = oldCplModel.getCreateDate();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getModifiedBy());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getModifiedDate();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setAttribute_9",
							new Class[] { String.class });

					String value8 = oldCplModel.getAttribute_9();

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getEntityId());

					method9.invoke(newModel, value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMCompanyClp.class.getName())) {
			CMCompanyClp oldCplModel = (CMCompanyClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMCompanyImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setCompanyCode",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getCompanyCode());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyName",
							new Class[] { String.class });

					String value1 = oldCplModel.getCompanyName();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getCompanyId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setDescrition",
							new Class[] { String.class });

					String value3 = oldCplModel.getDescrition();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getGroupId());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getUserId());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value6 = oldCplModel.getCreateDate();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value7 = new Long(oldCplModel.getModifiedBy());

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value8 = oldCplModel.getModifiedDate();

					method8.invoke(newModel, value8);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMControlGroupClp.class.getName())) {
			CMControlGroupClp oldCplModel = (CMControlGroupClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMControlGroupImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setControlGroupId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getControlGroupId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value3 = oldCplModel.getCreateDate();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getUserId());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value5 = oldCplModel.getName();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setDescrition",
							new Class[] { String.class });

					String value6 = oldCplModel.getDescrition();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setEmail",
							new Class[] { String.class });

					String value7 = oldCplModel.getEmail();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value8 = new Boolean(oldCplModel.getActive_());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setForumId",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getForumId());

					method9.invoke(newModel, value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMRoleClp.class.getName())) {
			CMRoleClp oldCplModel = (CMRoleClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setRoleId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getRoleId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setTitle",
							new Class[] { String.class });

					String value2 = oldCplModel.getTitle();

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value3 = oldCplModel.getName();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setDescription",
							new Class[] { String.class });

					String value4 = oldCplModel.getDescription();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value5 = new Boolean(oldCplModel.getActive_());

					method5.invoke(newModel, value5);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMBranchClp.class.getName())) {
			CMBranchClp oldCplModel = (CMBranchClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setBranchId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getBranchId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setRegionCode",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getRegionCode());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getEntityId());

					method4.invoke(newModel, value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMRegionClp.class.getName())) {
			CMRegionClp oldCplModel = (CMRegionClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMRegionImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setRegionCode",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getRegionCode());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value1 = oldCplModel.getName();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setDescription",
							new Class[] { String.class });

					String value2 = oldCplModel.getDescription();

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getUserId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value4 = oldCplModel.getCreateDate();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getModifiedBy());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value6 = oldCplModel.getModifiedDate();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setForumId",
							new Class[] { Long.TYPE });

					Long value7 = new Long(oldCplModel.getForumId());

					method7.invoke(newModel, value7);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMForumClp.class.getName())) {
			CMForumClp oldCplModel = (CMForumClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMForumImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setForumId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getForumId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getEntityId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value2 = oldCplModel.getName();

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setDescription",
							new Class[] { String.class });

					String value3 = oldCplModel.getDescription();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getGroupId());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value5 = new Boolean(oldCplModel.getActive_());

					method5.invoke(newModel, value5);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMSubForumClp.class.getName())) {
			CMSubForumClp oldCplModel = (CMSubForumClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMSubForumImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setSubforumId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getSubforumId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getUserId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value3 = oldCplModel.getCreateDate();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getModifiedBy());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value5 = oldCplModel.getModifiedDate();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value6 = oldCplModel.getName();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setDescription",
							new Class[] { String.class });

					String value7 = oldCplModel.getDescription();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setForumId",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getForumId());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setPriority",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getPriority());

					method9.invoke(newModel, value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMSanctionProposalClp.class.getName())) {
			CMSanctionProposalClp oldCplModel = (CMSanctionProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMSanctionProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setSanctionProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getSanctionProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setBranchId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getBranchId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value3 = oldCplModel.getApprovalTl();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setApprovalRmg",
							new Class[] { String.class });

					String value4 = oldCplModel.getApprovalRmg();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setIndustryId",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getIndustryId());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setCoePTypeId",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getCoePTypeId());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setProposal",
							new Class[] { String.class });

					String value7 = oldCplModel.getProposal();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setLoanAmt",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getLoanAmt());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setRatingRmgId",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getRatingRmgId());

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setTenure",
							new Class[] { Long.TYPE });

					Long value10 = new Long(oldCplModel.getTenure());

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setCompExp",
							new Class[] { Long.TYPE });

					Long value11 = new Long(oldCplModel.getCompExp());

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setComExpP",
							new Class[] { Long.TYPE });

					Long value12 = new Long(oldCplModel.getComExpP());

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setGroupExp",
							new Class[] { Long.TYPE });

					Long value13 = new Long(oldCplModel.getGroupExp());

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setGroupExpP",
							new Class[] { Long.TYPE });

					Long value14 = new Long(oldCplModel.getGroupExpP());

					method14.invoke(newModel, value14);

					Method method15 = newModelClass.getMethod("setSmId1",
							new Class[] { Long.TYPE });

					Long value15 = new Long(oldCplModel.getSmId1());

					method15.invoke(newModel, value15);

					Method method16 = newModelClass.getMethod("setSmId2",
							new Class[] { Long.TYPE });

					Long value16 = new Long(oldCplModel.getSmId2());

					method16.invoke(newModel, value16);

					Method method17 = newModelClass.getMethod("setSmId3",
							new Class[] { Long.TYPE });

					Long value17 = new Long(oldCplModel.getSmId3());

					method17.invoke(newModel, value17);

					Method method18 = newModelClass.getMethod("setTlId1",
							new Class[] { Long.TYPE });

					Long value18 = new Long(oldCplModel.getTlId1());

					method18.invoke(newModel, value18);

					Method method19 = newModelClass.getMethod("setTlId2",
							new Class[] { Long.TYPE });

					Long value19 = new Long(oldCplModel.getTlId2());

					method19.invoke(newModel, value19);

					Method method20 = newModelClass.getMethod("setIpNetM",
							new Class[] { String.class });

					String value20 = oldCplModel.getIpNetM();

					method20.invoke(newModel, value20);

					Method method21 = newModelClass.getMethod("setReportingAId1",
							new Class[] { Long.TYPE });

					Long value21 = new Long(oldCplModel.getReportingAId1());

					method21.invoke(newModel, value21);

					Method method22 = newModelClass.getMethod("setReportingAId2",
							new Class[] { Long.TYPE });

					Long value22 = new Long(oldCplModel.getReportingAId2());

					method22.invoke(newModel, value22);

					Method method23 = newModelClass.getMethod("setProgramId",
							new Class[] { Long.TYPE });

					Long value23 = new Long(oldCplModel.getProgramId());

					method23.invoke(newModel, value23);

					Method method24 = newModelClass.getMethod("setProgramExpiryDate",
							new Class[] { Date.class });

					Date value24 = oldCplModel.getProgramExpiryDate();

					method24.invoke(newModel, value24);

					Method method25 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value25 = new Long(oldCplModel.getProposalId());

					method25.invoke(newModel, value25);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMReportingProposalClp.class.getName())) {
			CMReportingProposalClp oldCplModel = (CMReportingProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMReportingProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setReportingProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getReportingProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value2 = oldCplModel.getApprovalTl();

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setLoanAmt",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getLoanAmt());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setProposalName",
							new Class[] { String.class });

					String value4 = oldCplModel.getProposalName();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setReportingAId1",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getReportingAId1());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setReportingAId2",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getReportingAId2());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setReportingFrom",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getReportingFrom();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setReportingTo",
							new Class[] { Date.class });

					Date value8 = oldCplModel.getReportingTo();

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setSmId1",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getSmId1());

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setSmId2",
							new Class[] { Long.TYPE });

					Long value10 = new Long(oldCplModel.getSmId2());

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setSmId3",
							new Class[] { Long.TYPE });

					Long value11 = new Long(oldCplModel.getSmId3());

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setTlId1",
							new Class[] { Long.TYPE });

					Long value12 = new Long(oldCplModel.getTlId1());

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setTlId2",
							new Class[] { Long.TYPE });

					Long value13 = new Long(oldCplModel.getTlId2());

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value14 = new Long(oldCplModel.getProposalId());

					method14.invoke(newModel, value14);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMPostProposalClp.class.getName())) {
			CMPostProposalClp oldCplModel = (CMPostProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMPostProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setPostProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getPostProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setBranchId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getBranchId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value3 = oldCplModel.getApprovalTl();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setApprovalRmg",
							new Class[] { String.class });

					String value4 = oldCplModel.getApprovalRmg();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setCoePTypeId",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getCoePTypeId());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setRatingRmgId",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getRatingRmgId());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setSmId",
							new Class[] { Long.TYPE });

					Long value7 = new Long(oldCplModel.getSmId());

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setTlId",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getTlId());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setIpNetM",
							new Class[] { String.class });

					String value9 = oldCplModel.getIpNetM();

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setProposalName",
							new Class[] { String.class });

					String value10 = oldCplModel.getProposalName();

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setReportingAId1",
							new Class[] { Long.TYPE });

					Long value11 = new Long(oldCplModel.getReportingAId1());

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setProgram",
							new Class[] { String.class });

					String value12 = oldCplModel.getProgram();

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setProgramExpery",
							new Class[] { Date.class });

					Date value13 = oldCplModel.getProgramExpery();

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value14 = new Long(oldCplModel.getProposalId());

					method14.invoke(newModel, value14);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMMeetingClp.class.getName())) {
			CMMeetingClp oldCplModel = (CMMeetingClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMMeetingImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setMeetingId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getMeetingId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCalEventId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCalEventId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getCompanyId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getUserId());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getModifiedBy());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value6 = oldCplModel.getCreateDate();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value7 = oldCplModel.getModifiedDate();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setProposalFolderId",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getProposalFolderId());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setMomsFolderId",
							new Class[] { Date.class });

					Date value9 = oldCplModel.getMomsFolderId();

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setExtractsFolderId",
							new Class[] { Long.TYPE });

					Long value10 = new Long(oldCplModel.getExtractsFolderId());

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setVenue",
							new Class[] { String.class });

					String value11 = oldCplModel.getVenue();

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value12 = new Long(oldCplModel.getEntityId());

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setFirstLockDate",
							new Class[] { Date.class });

					Date value13 = oldCplModel.getFirstLockDate();

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setSecondLockDate",
							new Class[] { Date.class });

					Date value14 = oldCplModel.getSecondLockDate();

					method14.invoke(newModel, value14);

					Method method15 = newModelClass.getMethod("setThiirdLockDate",
							new Class[] { Date.class });

					Date value15 = oldCplModel.getThiirdLockDate();

					method15.invoke(newModel, value15);

					Method method16 = newModelClass.getMethod("setMomLockDate",
							new Class[] { Date.class });

					Date value16 = oldCplModel.getMomLockDate();

					method16.invoke(newModel, value16);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMProposalTypeClp.class.getName())) {
			CMProposalTypeClp oldCplModel = (CMProposalTypeClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMProposalTypeImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setProposalTypeId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getProposalTypeId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value3 = oldCplModel.getName();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setDesc",
							new Class[] { String.class });

					String value4 = oldCplModel.getDesc();

					method4.invoke(newModel, value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMEntityClp.class.getName())) {
			CMEntityClp oldCplModel = (CMEntityClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMEntityImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getEntityId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCompanyId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getCompanyId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getGroupId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getUserId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value4 = oldCplModel.getCreateDate();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setModifiedBy",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getModifiedBy());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value6 = oldCplModel.getModifiedDate();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setName",
							new Class[] { String.class });

					String value7 = oldCplModel.getName();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setDesccription",
							new Class[] { String.class });

					String value8 = oldCplModel.getDesccription();

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setActive_",
							new Class[] { Boolean.TYPE });

					Boolean value9 = new Boolean(oldCplModel.getActive_());

					method9.invoke(newModel, value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMOthersProposalClp.class.getName())) {
			CMOthersProposalClp oldCplModel = (CMOthersProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMOthersProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setOthersProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getOthersProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setBranchId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getBranchId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value3 = oldCplModel.getApprovalTl();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setProposal",
							new Class[] { String.class });

					String value4 = oldCplModel.getProposal();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setLoanAmt",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getLoanAmt());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getProposalId());

					method6.invoke(newModel, value6);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMValuationProposalClp.class.getName())) {
			CMValuationProposalClp oldCplModel = (CMValuationProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMValuationProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setValuationProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getValuationProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value2 = oldCplModel.getApprovalTl();

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setLoanAmt",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getLoanAmt());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setProposalName",
							new Class[] { String.class });

					String value4 = oldCplModel.getProposalName();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setReportingAId1",
							new Class[] { Long.TYPE });

					Long value5 = new Long(oldCplModel.getReportingAId1());

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setReportingAId2",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getReportingAId2());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setModel",
							new Class[] { String.class });

					String value7 = oldCplModel.getModel();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getProposalId());

					method8.invoke(newModel, value8);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMPoliciesProposalClp.class.getName())) {
			CMPoliciesProposalClp oldCplModel = (CMPoliciesProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMPoliciesProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setPoliciesProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getPoliciesProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setCodCcmDt",
							new Class[] { Date.class });

					Date value1 = oldCplModel.getCodCcmDt();

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setBranchId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getBranchId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setApprovalTl",
							new Class[] { String.class });

					String value3 = oldCplModel.getApprovalTl();

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setLoanAmt",
							new Class[] { Long.TYPE });

					Long value4 = new Long(oldCplModel.getLoanAmt());

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setIpNetM",
							new Class[] { String.class });

					String value5 = oldCplModel.getIpNetM();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setProposalName",
							new Class[] { String.class });

					String value6 = oldCplModel.getProposalName();

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setReportingAId1",
							new Class[] { Long.TYPE });

					Long value7 = new Long(oldCplModel.getReportingAId1());

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setReportingAId2",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getReportingAId2());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setModel",
							new Class[] { String.class });

					String value9 = oldCplModel.getModel();

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setMethodology",
							new Class[] { String.class });

					String value10 = oldCplModel.getMethodology();

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setSmId1",
							new Class[] { Long.TYPE });

					Long value11 = new Long(oldCplModel.getSmId1());

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setSmId2",
							new Class[] { Long.TYPE });

					Long value12 = new Long(oldCplModel.getSmId2());

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setProgram",
							new Class[] { String.class });

					String value13 = oldCplModel.getProgram();

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setProgramExpiry",
							new Class[] { Date.class });

					Date value14 = oldCplModel.getProgramExpiry();

					method14.invoke(newModel, value14);

					Method method15 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value15 = new Long(oldCplModel.getProposalId());

					method15.invoke(newModel, value15);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(CMProposalClp.class.getName())) {
			CMProposalClp oldCplModel = (CMProposalClp)oldModel;

			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					Class<?> newModelClass = Class.forName("com.triumphsys.icici.cmeeting.portlet.model.impl.CMProposalImpl",
							true, _classLoader);

					Object newModel = newModelClass.newInstance();

					Method method0 = newModelClass.getMethod("setProposalId",
							new Class[] { Long.TYPE });

					Long value0 = new Long(oldCplModel.getProposalId());

					method0.invoke(newModel, value0);

					Method method1 = newModelClass.getMethod("setGroupId",
							new Class[] { Long.TYPE });

					Long value1 = new Long(oldCplModel.getGroupId());

					method1.invoke(newModel, value1);

					Method method2 = newModelClass.getMethod("setMeetingId",
							new Class[] { Long.TYPE });

					Long value2 = new Long(oldCplModel.getMeetingId());

					method2.invoke(newModel, value2);

					Method method3 = newModelClass.getMethod("setUserId",
							new Class[] { Long.TYPE });

					Long value3 = new Long(oldCplModel.getUserId());

					method3.invoke(newModel, value3);

					Method method4 = newModelClass.getMethod("setCreateDate",
							new Class[] { Date.class });

					Date value4 = oldCplModel.getCreateDate();

					method4.invoke(newModel, value4);

					Method method5 = newModelClass.getMethod("setModifiedDate",
							new Class[] { Date.class });

					Date value5 = oldCplModel.getModifiedDate();

					method5.invoke(newModel, value5);

					Method method6 = newModelClass.getMethod("setOpsRegionId",
							new Class[] { Long.TYPE });

					Long value6 = new Long(oldCplModel.getOpsRegionId());

					method6.invoke(newModel, value6);

					Method method7 = newModelClass.getMethod("setProposalDesc",
							new Class[] { String.class });

					String value7 = oldCplModel.getProposalDesc();

					method7.invoke(newModel, value7);

					Method method8 = newModelClass.getMethod("setProposalFileId",
							new Class[] { Long.TYPE });

					Long value8 = new Long(oldCplModel.getProposalFileId());

					method8.invoke(newModel, value8);

					Method method9 = newModelClass.getMethod("setExtractFileId",
							new Class[] { Long.TYPE });

					Long value9 = new Long(oldCplModel.getExtractFileId());

					method9.invoke(newModel, value9);

					Method method10 = newModelClass.getMethod("setMomFilId",
							new Class[] { Long.TYPE });

					Long value10 = new Long(oldCplModel.getMomFilId());

					method10.invoke(newModel, value10);

					Method method11 = newModelClass.getMethod("setActive",
							new Class[] { String.class });

					String value11 = oldCplModel.getActive();

					method11.invoke(newModel, value11);

					Method method12 = newModelClass.getMethod("setStatus",
							new Class[] { String.class });

					String value12 = oldCplModel.getStatus();

					method12.invoke(newModel, value12);

					Method method13 = newModelClass.getMethod("setProposalTypeId",
							new Class[] { Long.TYPE });

					Long value13 = new Long(oldCplModel.getProposalTypeId());

					method13.invoke(newModel, value13);

					Method method14 = newModelClass.getMethod("setEntityId",
							new Class[] { Long.TYPE });

					Long value14 = new Long(oldCplModel.getEntityId());

					method14.invoke(newModel, value14);

					Method method15 = newModelClass.getMethod("setMeetingStatus",
							new Class[] { String.class });

					String value15 = oldCplModel.getMeetingStatus();

					method15.invoke(newModel, value15);

					Method method16 = newModelClass.getMethod("setSubForumId",
							new Class[] { Long.TYPE });

					Long value16 = new Long(oldCplModel.getSubForumId());

					method16.invoke(newModel, value16);

					Method method17 = newModelClass.getMethod("setCompantCode",
							new Class[] { Long.TYPE });

					Long value17 = new Long(oldCplModel.getCompantCode());

					method17.invoke(newModel, value17);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		return oldModel;
	}

	public static Object translateInput(List<Object> oldList) {
		List<Object> newList = new ArrayList<Object>(oldList.size());

		for (int i = 0; i < oldList.size(); i++) {
			Object curObj = oldList.get(i);

			newList.add(translateInput(curObj));
		}

		return newList;
	}

	public static Object translateInput(Object obj) {
		if (obj instanceof BaseModel<?>) {
			return translateInput((BaseModel<?>)obj);
		}
		else if (obj instanceof List<?>) {
			return translateInput((List<Object>)obj);
		}
		else {
			return obj;
		}
	}

	public static Object translateOutput(BaseModel<?> oldModel) {
		Class<?> oldModelClass = oldModel.getClass();

		String oldModelClassName = oldModelClass.getName();

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMHolidayImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMHolidayClp newModel = new CMHolidayClp();

					Method method0 = oldModelClass.getMethod("getHolidayId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setHolidayId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getUserId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setUserId(value2);

					Method method3 = oldModelClass.getMethod("getGroupId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value3);

					Method method4 = oldModelClass.getMethod("getHoliday");

					Date value4 = (Date)method4.invoke(oldModel, (Object[])null);

					newModel.setHoliday(value4);

					Method method5 = oldModelClass.getMethod("getName");

					String value5 = (String)method5.invoke(oldModel,
							(Object[])null);

					newModel.setName(value5);

					Method method6 = oldModelClass.getMethod("getDesc");

					String value6 = (String)method6.invoke(oldModel,
							(Object[])null);

					newModel.setDesc(value6);

					Method method7 = oldModelClass.getMethod("getCreateDate");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value7);

					Method method8 = oldModelClass.getMethod("getModifiedBy");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value8);

					Method method9 = oldModelClass.getMethod("getModifiedDate");

					Date value9 = (Date)method9.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value9);

					Method method10 = oldModelClass.getMethod("getActive_");

					Boolean value10 = (Boolean)method10.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value10);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMParameterImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMParameterClp newModel = new CMParameterClp();

					Method method0 = oldModelClass.getMethod("getParameterId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setParameterId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getUserId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setUserId(value3);

					Method method4 = oldModelClass.getMethod("getName");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setName(value4);

					Method method5 = oldModelClass.getMethod("getValue");

					String value5 = (String)method5.invoke(oldModel,
							(Object[])null);

					newModel.setValue(value5);

					Method method6 = oldModelClass.getMethod("getDescription");

					String value6 = (String)method6.invoke(oldModel,
							(Object[])null);

					newModel.setDescription(value6);

					Method method7 = oldModelClass.getMethod("getCreateDate");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value7);

					Method method8 = oldModelClass.getMethod("getModifiedBy");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value8);

					Method method9 = oldModelClass.getMethod("getModifiedDate");

					Date value9 = (Date)method9.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value9);

					Method method10 = oldModelClass.getMethod(
							"getRegionGroupId");

					Long value10 = (Long)method10.invoke(oldModel,
							(Object[])null);

					newModel.setRegionGroupId(value10);

					Method method11 = oldModelClass.getMethod("getActive_");

					Boolean value11 = (Boolean)method11.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value11);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMUserClp newModel = new CMUserClp();

					Method method0 = oldModelClass.getMethod("getUserId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setUserId(value0);

					Method method1 = oldModelClass.getMethod("getUserIp");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setUserIp(value1);

					Method method2 = oldModelClass.getMethod("getUserDomain");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setUserDomain(value2);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMCreditRatingImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMCreditRatingClp newModel = new CMCreditRatingClp();

					Method method0 = oldModelClass.getMethod(
							"getCreditRatingId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setCreditRatingId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getUserId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setUserId(value3);

					Method method4 = oldModelClass.getMethod("getName");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setName(value4);

					Method method5 = oldModelClass.getMethod("getCreateDate");

					Date value5 = (Date)method5.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value5);

					Method method6 = oldModelClass.getMethod("getModifiedBy");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value6);

					Method method7 = oldModelClass.getMethod("getModifiedDate");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value7);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.COEPropoalTypeImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					COEPropoalTypeClp newModel = new COEPropoalTypeClp();

					Method method0 = oldModelClass.getMethod(
							"getCoeProposalTypeId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setCoeProposalTypeId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getName");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setName(value3);

					Method method4 = oldModelClass.getMethod("getDesc");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setDesc(value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMIndustryImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMIndustryClp newModel = new CMIndustryClp();

					Method method0 = oldModelClass.getMethod("getIndustryId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setIndustryId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getName");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setName(value3);

					Method method4 = oldModelClass.getMethod("getUserId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setUserId(value4);

					Method method5 = oldModelClass.getMethod("getCreateDate");

					Date value5 = (Date)method5.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value5);

					Method method6 = oldModelClass.getMethod("getModifiedBy");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value6);

					Method method7 = oldModelClass.getMethod("getModifiedDate");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value7);

					Method method8 = oldModelClass.getMethod("getAttribute_9");

					String value8 = (String)method8.invoke(oldModel,
							(Object[])null);

					newModel.setAttribute_9(value8);

					Method method9 = oldModelClass.getMethod("getEntityId");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setEntityId(value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMCompanyImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMCompanyClp newModel = new CMCompanyClp();

					Method method0 = oldModelClass.getMethod("getCompanyCode");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setCompanyCode(value0);

					Method method1 = oldModelClass.getMethod("getCompanyName");

					String value1 = (String)method1.invoke(oldModel,
							(Object[])null);

					newModel.setCompanyName(value1);

					Method method2 = oldModelClass.getMethod("getCompanyId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value2);

					Method method3 = oldModelClass.getMethod("getDescrition");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setDescrition(value3);

					Method method4 = oldModelClass.getMethod("getGroupId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value4);

					Method method5 = oldModelClass.getMethod("getUserId");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setUserId(value5);

					Method method6 = oldModelClass.getMethod("getCreateDate");

					Date value6 = (Date)method6.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value6);

					Method method7 = oldModelClass.getMethod("getModifiedBy");

					Long value7 = (Long)method7.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value7);

					Method method8 = oldModelClass.getMethod("getModifiedDate");

					Date value8 = (Date)method8.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value8);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMControlGroupImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMControlGroupClp newModel = new CMControlGroupClp();

					Method method0 = oldModelClass.getMethod(
							"getControlGroupId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setControlGroupId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getCreateDate");

					Date value3 = (Date)method3.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value3);

					Method method4 = oldModelClass.getMethod("getUserId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setUserId(value4);

					Method method5 = oldModelClass.getMethod("getName");

					String value5 = (String)method5.invoke(oldModel,
							(Object[])null);

					newModel.setName(value5);

					Method method6 = oldModelClass.getMethod("getDescrition");

					String value6 = (String)method6.invoke(oldModel,
							(Object[])null);

					newModel.setDescrition(value6);

					Method method7 = oldModelClass.getMethod("getEmail");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setEmail(value7);

					Method method8 = oldModelClass.getMethod("getActive_");

					Boolean value8 = (Boolean)method8.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value8);

					Method method9 = oldModelClass.getMethod("getForumId");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setForumId(value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMRoleImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMRoleClp newModel = new CMRoleClp();

					Method method0 = oldModelClass.getMethod("getRoleId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setRoleId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getTitle");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setTitle(value2);

					Method method3 = oldModelClass.getMethod("getName");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setName(value3);

					Method method4 = oldModelClass.getMethod("getDescription");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setDescription(value4);

					Method method5 = oldModelClass.getMethod("getActive_");

					Boolean value5 = (Boolean)method5.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value5);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMBranchClp newModel = new CMBranchClp();

					Method method0 = oldModelClass.getMethod("getBranchId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setBranchId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getRegionCode");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setRegionCode(value3);

					Method method4 = oldModelClass.getMethod("getEntityId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setEntityId(value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMRegionImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMRegionClp newModel = new CMRegionClp();

					Method method0 = oldModelClass.getMethod("getRegionCode");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setRegionCode(value0);

					Method method1 = oldModelClass.getMethod("getName");

					String value1 = (String)method1.invoke(oldModel,
							(Object[])null);

					newModel.setName(value1);

					Method method2 = oldModelClass.getMethod("getDescription");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setDescription(value2);

					Method method3 = oldModelClass.getMethod("getUserId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setUserId(value3);

					Method method4 = oldModelClass.getMethod("getCreateDate");

					Date value4 = (Date)method4.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value4);

					Method method5 = oldModelClass.getMethod("getModifiedBy");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value5);

					Method method6 = oldModelClass.getMethod("getModifiedDate");

					Date value6 = (Date)method6.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value6);

					Method method7 = oldModelClass.getMethod("getForumId");

					Long value7 = (Long)method7.invoke(oldModel, (Object[])null);

					newModel.setForumId(value7);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMForumImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMForumClp newModel = new CMForumClp();

					Method method0 = oldModelClass.getMethod("getForumId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setForumId(value0);

					Method method1 = oldModelClass.getMethod("getEntityId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setEntityId(value1);

					Method method2 = oldModelClass.getMethod("getName");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setName(value2);

					Method method3 = oldModelClass.getMethod("getDescription");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setDescription(value3);

					Method method4 = oldModelClass.getMethod("getGroupId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value4);

					Method method5 = oldModelClass.getMethod("getActive_");

					Boolean value5 = (Boolean)method5.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value5);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMSubForumImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMSubForumClp newModel = new CMSubForumClp();

					Method method0 = oldModelClass.getMethod("getSubforumId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setSubforumId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getUserId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setUserId(value2);

					Method method3 = oldModelClass.getMethod("getCreateDate");

					Date value3 = (Date)method3.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value3);

					Method method4 = oldModelClass.getMethod("getModifiedBy");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value4);

					Method method5 = oldModelClass.getMethod("getModifiedDate");

					Date value5 = (Date)method5.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value5);

					Method method6 = oldModelClass.getMethod("getName");

					String value6 = (String)method6.invoke(oldModel,
							(Object[])null);

					newModel.setName(value6);

					Method method7 = oldModelClass.getMethod("getDescription");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setDescription(value7);

					Method method8 = oldModelClass.getMethod("getForumId");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setForumId(value8);

					Method method9 = oldModelClass.getMethod("getPriority");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setPriority(value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMSanctionProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMSanctionProposalClp newModel = new CMSanctionProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getSanctionProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setSanctionProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getBranchId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setBranchId(value2);

					Method method3 = oldModelClass.getMethod("getApprovalTl");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value3);

					Method method4 = oldModelClass.getMethod("getApprovalRmg");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalRmg(value4);

					Method method5 = oldModelClass.getMethod("getIndustryId");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setIndustryId(value5);

					Method method6 = oldModelClass.getMethod("getCoePTypeId");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setCoePTypeId(value6);

					Method method7 = oldModelClass.getMethod("getProposal");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setProposal(value7);

					Method method8 = oldModelClass.getMethod("getLoanAmt");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setLoanAmt(value8);

					Method method9 = oldModelClass.getMethod("getRatingRmgId");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setRatingRmgId(value9);

					Method method10 = oldModelClass.getMethod("getTenure");

					Long value10 = (Long)method10.invoke(oldModel,
							(Object[])null);

					newModel.setTenure(value10);

					Method method11 = oldModelClass.getMethod("getCompExp");

					Long value11 = (Long)method11.invoke(oldModel,
							(Object[])null);

					newModel.setCompExp(value11);

					Method method12 = oldModelClass.getMethod("getComExpP");

					Long value12 = (Long)method12.invoke(oldModel,
							(Object[])null);

					newModel.setComExpP(value12);

					Method method13 = oldModelClass.getMethod("getGroupExp");

					Long value13 = (Long)method13.invoke(oldModel,
							(Object[])null);

					newModel.setGroupExp(value13);

					Method method14 = oldModelClass.getMethod("getGroupExpP");

					Long value14 = (Long)method14.invoke(oldModel,
							(Object[])null);

					newModel.setGroupExpP(value14);

					Method method15 = oldModelClass.getMethod("getSmId1");

					Long value15 = (Long)method15.invoke(oldModel,
							(Object[])null);

					newModel.setSmId1(value15);

					Method method16 = oldModelClass.getMethod("getSmId2");

					Long value16 = (Long)method16.invoke(oldModel,
							(Object[])null);

					newModel.setSmId2(value16);

					Method method17 = oldModelClass.getMethod("getSmId3");

					Long value17 = (Long)method17.invoke(oldModel,
							(Object[])null);

					newModel.setSmId3(value17);

					Method method18 = oldModelClass.getMethod("getTlId1");

					Long value18 = (Long)method18.invoke(oldModel,
							(Object[])null);

					newModel.setTlId1(value18);

					Method method19 = oldModelClass.getMethod("getTlId2");

					Long value19 = (Long)method19.invoke(oldModel,
							(Object[])null);

					newModel.setTlId2(value19);

					Method method20 = oldModelClass.getMethod("getIpNetM");

					String value20 = (String)method20.invoke(oldModel,
							(Object[])null);

					newModel.setIpNetM(value20);

					Method method21 = oldModelClass.getMethod(
							"getReportingAId1");

					Long value21 = (Long)method21.invoke(oldModel,
							(Object[])null);

					newModel.setReportingAId1(value21);

					Method method22 = oldModelClass.getMethod(
							"getReportingAId2");

					Long value22 = (Long)method22.invoke(oldModel,
							(Object[])null);

					newModel.setReportingAId2(value22);

					Method method23 = oldModelClass.getMethod("getProgramId");

					Long value23 = (Long)method23.invoke(oldModel,
							(Object[])null);

					newModel.setProgramId(value23);

					Method method24 = oldModelClass.getMethod(
							"getProgramExpiryDate");

					Date value24 = (Date)method24.invoke(oldModel,
							(Object[])null);

					newModel.setProgramExpiryDate(value24);

					Method method25 = oldModelClass.getMethod("getProposalId");

					Long value25 = (Long)method25.invoke(oldModel,
							(Object[])null);

					newModel.setProposalId(value25);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMReportingProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMReportingProposalClp newModel = new CMReportingProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getReportingProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setReportingProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getApprovalTl");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value2);

					Method method3 = oldModelClass.getMethod("getLoanAmt");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setLoanAmt(value3);

					Method method4 = oldModelClass.getMethod("getProposalName");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setProposalName(value4);

					Method method5 = oldModelClass.getMethod("getReportingAId1");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setReportingAId1(value5);

					Method method6 = oldModelClass.getMethod("getReportingAId2");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setReportingAId2(value6);

					Method method7 = oldModelClass.getMethod("getReportingFrom");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setReportingFrom(value7);

					Method method8 = oldModelClass.getMethod("getReportingTo");

					Date value8 = (Date)method8.invoke(oldModel, (Object[])null);

					newModel.setReportingTo(value8);

					Method method9 = oldModelClass.getMethod("getSmId1");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setSmId1(value9);

					Method method10 = oldModelClass.getMethod("getSmId2");

					Long value10 = (Long)method10.invoke(oldModel,
							(Object[])null);

					newModel.setSmId2(value10);

					Method method11 = oldModelClass.getMethod("getSmId3");

					Long value11 = (Long)method11.invoke(oldModel,
							(Object[])null);

					newModel.setSmId3(value11);

					Method method12 = oldModelClass.getMethod("getTlId1");

					Long value12 = (Long)method12.invoke(oldModel,
							(Object[])null);

					newModel.setTlId1(value12);

					Method method13 = oldModelClass.getMethod("getTlId2");

					Long value13 = (Long)method13.invoke(oldModel,
							(Object[])null);

					newModel.setTlId2(value13);

					Method method14 = oldModelClass.getMethod("getProposalId");

					Long value14 = (Long)method14.invoke(oldModel,
							(Object[])null);

					newModel.setProposalId(value14);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMPostProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMPostProposalClp newModel = new CMPostProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getPostProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setPostProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getBranchId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setBranchId(value2);

					Method method3 = oldModelClass.getMethod("getApprovalTl");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value3);

					Method method4 = oldModelClass.getMethod("getApprovalRmg");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalRmg(value4);

					Method method5 = oldModelClass.getMethod("getCoePTypeId");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setCoePTypeId(value5);

					Method method6 = oldModelClass.getMethod("getRatingRmgId");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setRatingRmgId(value6);

					Method method7 = oldModelClass.getMethod("getSmId");

					Long value7 = (Long)method7.invoke(oldModel, (Object[])null);

					newModel.setSmId(value7);

					Method method8 = oldModelClass.getMethod("getTlId");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setTlId(value8);

					Method method9 = oldModelClass.getMethod("getIpNetM");

					String value9 = (String)method9.invoke(oldModel,
							(Object[])null);

					newModel.setIpNetM(value9);

					Method method10 = oldModelClass.getMethod("getProposalName");

					String value10 = (String)method10.invoke(oldModel,
							(Object[])null);

					newModel.setProposalName(value10);

					Method method11 = oldModelClass.getMethod(
							"getReportingAId1");

					Long value11 = (Long)method11.invoke(oldModel,
							(Object[])null);

					newModel.setReportingAId1(value11);

					Method method12 = oldModelClass.getMethod("getProgram");

					String value12 = (String)method12.invoke(oldModel,
							(Object[])null);

					newModel.setProgram(value12);

					Method method13 = oldModelClass.getMethod(
							"getProgramExpery");

					Date value13 = (Date)method13.invoke(oldModel,
							(Object[])null);

					newModel.setProgramExpery(value13);

					Method method14 = oldModelClass.getMethod("getProposalId");

					Long value14 = (Long)method14.invoke(oldModel,
							(Object[])null);

					newModel.setProposalId(value14);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMMeetingImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMMeetingClp newModel = new CMMeetingClp();

					Method method0 = oldModelClass.getMethod("getMeetingId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setMeetingId(value0);

					Method method1 = oldModelClass.getMethod("getCalEventId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCalEventId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getCompanyId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value3);

					Method method4 = oldModelClass.getMethod("getUserId");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setUserId(value4);

					Method method5 = oldModelClass.getMethod("getModifiedBy");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value5);

					Method method6 = oldModelClass.getMethod("getCreateDate");

					Date value6 = (Date)method6.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value6);

					Method method7 = oldModelClass.getMethod("getModifiedDate");

					Date value7 = (Date)method7.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value7);

					Method method8 = oldModelClass.getMethod(
							"getProposalFolderId");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setProposalFolderId(value8);

					Method method9 = oldModelClass.getMethod("getMomsFolderId");

					Date value9 = (Date)method9.invoke(oldModel, (Object[])null);

					newModel.setMomsFolderId(value9);

					Method method10 = oldModelClass.getMethod(
							"getExtractsFolderId");

					Long value10 = (Long)method10.invoke(oldModel,
							(Object[])null);

					newModel.setExtractsFolderId(value10);

					Method method11 = oldModelClass.getMethod("getVenue");

					String value11 = (String)method11.invoke(oldModel,
							(Object[])null);

					newModel.setVenue(value11);

					Method method12 = oldModelClass.getMethod("getEntityId");

					Long value12 = (Long)method12.invoke(oldModel,
							(Object[])null);

					newModel.setEntityId(value12);

					Method method13 = oldModelClass.getMethod(
							"getFirstLockDate");

					Date value13 = (Date)method13.invoke(oldModel,
							(Object[])null);

					newModel.setFirstLockDate(value13);

					Method method14 = oldModelClass.getMethod(
							"getSecondLockDate");

					Date value14 = (Date)method14.invoke(oldModel,
							(Object[])null);

					newModel.setSecondLockDate(value14);

					Method method15 = oldModelClass.getMethod(
							"getThiirdLockDate");

					Date value15 = (Date)method15.invoke(oldModel,
							(Object[])null);

					newModel.setThiirdLockDate(value15);

					Method method16 = oldModelClass.getMethod("getMomLockDate");

					Date value16 = (Date)method16.invoke(oldModel,
							(Object[])null);

					newModel.setMomLockDate(value16);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMProposalTypeImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMProposalTypeClp newModel = new CMProposalTypeClp();

					Method method0 = oldModelClass.getMethod(
							"getProposalTypeId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setProposalTypeId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getName");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setName(value3);

					Method method4 = oldModelClass.getMethod("getDesc");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setDesc(value4);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMEntityImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMEntityClp newModel = new CMEntityClp();

					Method method0 = oldModelClass.getMethod("getEntityId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setEntityId(value0);

					Method method1 = oldModelClass.getMethod("getCompanyId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setCompanyId(value1);

					Method method2 = oldModelClass.getMethod("getGroupId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value2);

					Method method3 = oldModelClass.getMethod("getUserId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setUserId(value3);

					Method method4 = oldModelClass.getMethod("getCreateDate");

					Date value4 = (Date)method4.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value4);

					Method method5 = oldModelClass.getMethod("getModifiedBy");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setModifiedBy(value5);

					Method method6 = oldModelClass.getMethod("getModifiedDate");

					Date value6 = (Date)method6.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value6);

					Method method7 = oldModelClass.getMethod("getName");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setName(value7);

					Method method8 = oldModelClass.getMethod("getDesccription");

					String value8 = (String)method8.invoke(oldModel,
							(Object[])null);

					newModel.setDesccription(value8);

					Method method9 = oldModelClass.getMethod("getActive_");

					Boolean value9 = (Boolean)method9.invoke(oldModel,
							(Object[])null);

					newModel.setActive_(value9);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMOthersProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMOthersProposalClp newModel = new CMOthersProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getOthersProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setOthersProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getBranchId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setBranchId(value2);

					Method method3 = oldModelClass.getMethod("getApprovalTl");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value3);

					Method method4 = oldModelClass.getMethod("getProposal");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setProposal(value4);

					Method method5 = oldModelClass.getMethod("getLoanAmt");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setLoanAmt(value5);

					Method method6 = oldModelClass.getMethod("getProposalId");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setProposalId(value6);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMValuationProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMValuationProposalClp newModel = new CMValuationProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getValuationProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setValuationProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getApprovalTl");

					String value2 = (String)method2.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value2);

					Method method3 = oldModelClass.getMethod("getLoanAmt");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setLoanAmt(value3);

					Method method4 = oldModelClass.getMethod("getProposalName");

					String value4 = (String)method4.invoke(oldModel,
							(Object[])null);

					newModel.setProposalName(value4);

					Method method5 = oldModelClass.getMethod("getReportingAId1");

					Long value5 = (Long)method5.invoke(oldModel, (Object[])null);

					newModel.setReportingAId1(value5);

					Method method6 = oldModelClass.getMethod("getReportingAId2");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setReportingAId2(value6);

					Method method7 = oldModelClass.getMethod("getModel");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setModel(value7);

					Method method8 = oldModelClass.getMethod("getProposalId");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setProposalId(value8);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMPoliciesProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMPoliciesProposalClp newModel = new CMPoliciesProposalClp();

					Method method0 = oldModelClass.getMethod(
							"getPoliciesProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setPoliciesProposalId(value0);

					Method method1 = oldModelClass.getMethod("getCodCcmDt");

					Date value1 = (Date)method1.invoke(oldModel, (Object[])null);

					newModel.setCodCcmDt(value1);

					Method method2 = oldModelClass.getMethod("getBranchId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setBranchId(value2);

					Method method3 = oldModelClass.getMethod("getApprovalTl");

					String value3 = (String)method3.invoke(oldModel,
							(Object[])null);

					newModel.setApprovalTl(value3);

					Method method4 = oldModelClass.getMethod("getLoanAmt");

					Long value4 = (Long)method4.invoke(oldModel, (Object[])null);

					newModel.setLoanAmt(value4);

					Method method5 = oldModelClass.getMethod("getIpNetM");

					String value5 = (String)method5.invoke(oldModel,
							(Object[])null);

					newModel.setIpNetM(value5);

					Method method6 = oldModelClass.getMethod("getProposalName");

					String value6 = (String)method6.invoke(oldModel,
							(Object[])null);

					newModel.setProposalName(value6);

					Method method7 = oldModelClass.getMethod("getReportingAId1");

					Long value7 = (Long)method7.invoke(oldModel, (Object[])null);

					newModel.setReportingAId1(value7);

					Method method8 = oldModelClass.getMethod("getReportingAId2");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setReportingAId2(value8);

					Method method9 = oldModelClass.getMethod("getModel");

					String value9 = (String)method9.invoke(oldModel,
							(Object[])null);

					newModel.setModel(value9);

					Method method10 = oldModelClass.getMethod("getMethodology");

					String value10 = (String)method10.invoke(oldModel,
							(Object[])null);

					newModel.setMethodology(value10);

					Method method11 = oldModelClass.getMethod("getSmId1");

					Long value11 = (Long)method11.invoke(oldModel,
							(Object[])null);

					newModel.setSmId1(value11);

					Method method12 = oldModelClass.getMethod("getSmId2");

					Long value12 = (Long)method12.invoke(oldModel,
							(Object[])null);

					newModel.setSmId2(value12);

					Method method13 = oldModelClass.getMethod("getProgram");

					String value13 = (String)method13.invoke(oldModel,
							(Object[])null);

					newModel.setProgram(value13);

					Method method14 = oldModelClass.getMethod(
							"getProgramExpiry");

					Date value14 = (Date)method14.invoke(oldModel,
							(Object[])null);

					newModel.setProgramExpiry(value14);

					Method method15 = oldModelClass.getMethod("getProposalId");

					Long value15 = (Long)method15.invoke(oldModel,
							(Object[])null);

					newModel.setProposalId(value15);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		if (oldModelClassName.equals(
					"com.triumphsys.icici.cmeeting.portlet.model.impl.CMProposalImpl")) {
			ClassLoader contextClassLoader = Thread.currentThread()
												   .getContextClassLoader();

			try {
				Thread.currentThread().setContextClassLoader(_classLoader);

				try {
					CMProposalClp newModel = new CMProposalClp();

					Method method0 = oldModelClass.getMethod("getProposalId");

					Long value0 = (Long)method0.invoke(oldModel, (Object[])null);

					newModel.setProposalId(value0);

					Method method1 = oldModelClass.getMethod("getGroupId");

					Long value1 = (Long)method1.invoke(oldModel, (Object[])null);

					newModel.setGroupId(value1);

					Method method2 = oldModelClass.getMethod("getMeetingId");

					Long value2 = (Long)method2.invoke(oldModel, (Object[])null);

					newModel.setMeetingId(value2);

					Method method3 = oldModelClass.getMethod("getUserId");

					Long value3 = (Long)method3.invoke(oldModel, (Object[])null);

					newModel.setUserId(value3);

					Method method4 = oldModelClass.getMethod("getCreateDate");

					Date value4 = (Date)method4.invoke(oldModel, (Object[])null);

					newModel.setCreateDate(value4);

					Method method5 = oldModelClass.getMethod("getModifiedDate");

					Date value5 = (Date)method5.invoke(oldModel, (Object[])null);

					newModel.setModifiedDate(value5);

					Method method6 = oldModelClass.getMethod("getOpsRegionId");

					Long value6 = (Long)method6.invoke(oldModel, (Object[])null);

					newModel.setOpsRegionId(value6);

					Method method7 = oldModelClass.getMethod("getProposalDesc");

					String value7 = (String)method7.invoke(oldModel,
							(Object[])null);

					newModel.setProposalDesc(value7);

					Method method8 = oldModelClass.getMethod(
							"getProposalFileId");

					Long value8 = (Long)method8.invoke(oldModel, (Object[])null);

					newModel.setProposalFileId(value8);

					Method method9 = oldModelClass.getMethod("getExtractFileId");

					Long value9 = (Long)method9.invoke(oldModel, (Object[])null);

					newModel.setExtractFileId(value9);

					Method method10 = oldModelClass.getMethod("getMomFilId");

					Long value10 = (Long)method10.invoke(oldModel,
							(Object[])null);

					newModel.setMomFilId(value10);

					Method method11 = oldModelClass.getMethod("getActive");

					String value11 = (String)method11.invoke(oldModel,
							(Object[])null);

					newModel.setActive(value11);

					Method method12 = oldModelClass.getMethod("getStatus");

					String value12 = (String)method12.invoke(oldModel,
							(Object[])null);

					newModel.setStatus(value12);

					Method method13 = oldModelClass.getMethod(
							"getProposalTypeId");

					Long value13 = (Long)method13.invoke(oldModel,
							(Object[])null);

					newModel.setProposalTypeId(value13);

					Method method14 = oldModelClass.getMethod("getEntityId");

					Long value14 = (Long)method14.invoke(oldModel,
							(Object[])null);

					newModel.setEntityId(value14);

					Method method15 = oldModelClass.getMethod(
							"getMeetingStatus");

					String value15 = (String)method15.invoke(oldModel,
							(Object[])null);

					newModel.setMeetingStatus(value15);

					Method method16 = oldModelClass.getMethod("getSubForumId");

					Long value16 = (Long)method16.invoke(oldModel,
							(Object[])null);

					newModel.setSubForumId(value16);

					Method method17 = oldModelClass.getMethod("getCompantCode");

					Long value17 = (Long)method17.invoke(oldModel,
							(Object[])null);

					newModel.setCompantCode(value17);

					return newModel;
				}
				catch (Exception e) {
					_log.error(e, e);
				}
			}
			finally {
				Thread.currentThread().setContextClassLoader(contextClassLoader);
			}
		}

		return oldModel;
	}

	public static Object translateOutput(List<Object> oldList) {
		List<Object> newList = new ArrayList<Object>(oldList.size());

		for (int i = 0; i < oldList.size(); i++) {
			Object curObj = oldList.get(i);

			newList.add(translateOutput(curObj));
		}

		return newList;
	}

	public static Object translateOutput(Object obj) {
		if (obj instanceof BaseModel<?>) {
			return translateOutput((BaseModel<?>)obj);
		}
		else if (obj instanceof List<?>) {
			return translateOutput((List<Object>)obj);
		}
		else {
			return obj;
		}
	}

	private static Log _log = LogFactoryUtil.getLog(ClpSerializer.class);
	private static ClassLoader _classLoader;
}